package reflection;
//测试物料类
public class People {
    //提供私有属性
    private String name;
    private int age;
    //无参构造
    People(){

    }
    //全参构造
    public People(String name, int age) {
        this.name = name;
        this.age = age;
    }
    //提供私有方法(含参)
    private void save(int n,String s){
        System.out.println("save()...执行了"+n+s);
    }
    //提供私有方法(无参)
    private void upDate(){
        System.out.println("upDate()...执行了");
    }

}
